hipreme_engine v1.0.14 (2023-12-23T18:43:10Z)
Dub
Repo
isPointInLine
hip
math
collision
Undocumented in source. Be warned that the author may not have intended to support it.
bool
isPointInLine
(T px, T py, T lx1, T ly1, T lx2, T ly2, float error)
bool
isPointInLine
(T[2] point, T[2] lineStart, T[2] lineEnd, float error)
pure nothrow @
nogc
@
safe
pragma(
inline
, true)
bool
isPointInLine
(
T
)
(
in
T
[2]
point
,
in
T
[2]
lineStart
,
in
T
[2]
lineEnd
,
in
float
error
= 0.01
)
bool
isPointInLine
(Vector2 point, Vector2 lineStart, Vector2 lineEnd, float error)
Meta
Source
See Implementation
hip
math
collision
functions
isCircleInLine
isDynamicRectOverlappingRect
isPointInCircle
isPointInLine
isPointInLine2
isPointInRect
isRayIntersectingLine
isRayIntersectingRect
isRectOverlappingRect
resolveDynamicRectOverlappingRect
structs
RectWorld